package com.ruoyi.security.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 电梯维修单对象 omp_af_elevator_repair
 *
 * @author cjie
 * @date 2022-07-25
 */
@Data
@ApiModel
public class AfElevatorRepair extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 维修工单号 */
    @ApiModelProperty(value = "维修工单号")
    private String orderNo;

    /** 电梯id */
    @Excel(name = "电梯id")
    @ApiModelProperty(value = "电梯id")
    private String elevId;

    /** 电梯工号 */
    @Excel(name = "电梯工号")
    @ApiModelProperty(value = "电梯工号")
    private String factoryNo;

    /** 内部编号 */
    @Excel(name = "内部编号")
    @ApiModelProperty(value = "内部编号")
    private String aliasOfAddress;

    /** 工单创建人 */
    @Excel(name = "工单创建人")
    @ApiModelProperty(value = "工单创建人")
    private String creater;

    /** 使用单位名称 */
    @Excel(name = "使用单位名称")
    @ApiModelProperty(value = "使用单位名称")
    private String customerCompanyName;

    /** 故障原因 */
    @Excel(name = "故障原因")
    @ApiModelProperty(value = "故障原因")
    private String faultReason;

    /** 完成状态 */
    @Excel(name = "完成状态")
    @ApiModelProperty(value = "完成状态")
    private Integer finishStatus;

    /** 维修时长(m) */
    @Excel(name = "维修时长(m)")
    @ApiModelProperty(value = "维修时长(m)")
    private Integer repairDuration;

    /** 维保人 */
    @Excel(name = "维保人")
    @ApiModelProperty(value = "维保人")
    private String maintainerOneName;

    /** 维保人电话 */
    @Excel(name = "维保人电话")
    @ApiModelProperty(value = "维保人电话")
    private String maintainerOnePhone;

    /** 维修日期 */
    @Excel(name = "维修日期")
    @ApiModelProperty(value = "维修日期")
    private String repairDate;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Integer status;

    /** 维修类型 */
    @Excel(name = "维修类型")
    @ApiModelProperty(value = "维修类型")
    private Integer type;

    /** 维保单位名称 */
    @Excel(name = "维保单位名称")
    @ApiModelProperty(value = "维保单位名称")
    private String upkeepCompanyName;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "最后更新时间")
    private Date lastUpdateTime;

    private Integer cont;

}
